-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (36 loc) · 1 KB
/
python312.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: 3.12
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
#IMAGE_NAME: ${{ github.repository }}
IMAGE_NAME: theshellland/automonisaur
PKG: automon
PYPI: automonisaur
TWINE_REPOSITORY: https://upload.pypi.org/legacy/
TWINE_REPOSITORY_URL: https://upload.pypi.org/legacy/
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
jobs:
unittest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install python packages
run: pip3 install -r requirements.txt
- name: install chrome and chromedriver
run: /bin/bash docker/install.sh
- name: Run tests
run: /bin/bash test.sh
env:
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}