Custom datetime converter #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Build and install package | |
run: | | |
python -m pip install . | |
- name: Download testdata | |
run: | | |
wget -i testfiles.txt -P data | |
- name: Unzip all testdata | |
run: | | |
unzip -d data -o 'data/*.zip' | |
- name: Run tests | |
run: | | |
pytest |